package com.EpidemicPrevention.mapper;


import com.EpidemicPrevention.pojo.Register;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface RegisterMapper {

    int saveRegister(Register register);

    int updateRegister(Register register);

    int deleteRegister(@Param("r_id") int r_id);

    List<Register> queryRegister(@Param("page") int page, @Param("limit") int limit,
                                 @Param("r_audit")String r_audit, @Param("Keyword")String Keyword);
}
